NAME = WeatherFront

make:	kill clean build copy

run:	kill clean build copy start

kill:
	-kill `ps -aex | grep "Front Row" | awk '{print $$1}'`

clean:
	-sudo rm -rf build dist /System/Library/CoreServices/Front\ Row.app/Contents/PlugIns/$(NAME).frappliance

build: 
	-python setup.py py2app

copy:
	- sudo cp -pvr dist/ /System/Library/CoreServices/Front\ Row.app/Contents/PlugIns/

start:
	- open "/Applications/Front Row.app" &
